package fr.gest4team.app.gestion.dao;


import org.hibernate.criterion.DetachedCriteria;

import fr.gest4team.app.gestion.dao.abstrait.AbstractGapRefDao;
import fr.gest4team.app.gestion.dao.interfaces.IGapRefDao;
import fr.gest4team.app.gestion.dto.GapRef;

import java.util.List;

/**
 * Dao modifiable 
 * @see fr.gest4team.app.gestion.dto.GapRef
 */
public class GapRefDao 
    extends AbstractGapRefDao 
    implements IGapRefDao {
    
    /**
     * @author brug
     * @return retourne la liste des GapRefs. 
     */
    public List<GapRef> chargerListeGapRef() {
        final DetachedCriteria criteria = DetachedCriteria
                .forClass(GapRef.class);
        return executeDetachedCriteria(criteria);
     }
}